package medicalDocumentation.medicalDoc;

import entity.MedicalCase;
import entity.Medication;
import entity.MedicineEntity;
import java.util.ArrayList;
import java.util.List;
import javax.ejb.Remote;

@Remote
public interface CaseMedicineSessionBeanRemote {

    Long addMedicine(Long CIN, String code, String name, double dose, int duration, String staus);

    void deleteMedicine(Long CIN, Long ID);

    ArrayList<MedicineEntity> displayCaseMedicine(Long cin);

    MedicalCase getMedicalCase();

    List<Medication> getMedication();

    MedicineEntity getMedicineEntity();

    List<MedicineEntity> getMedicineEntityList();

    ArrayList<MedicineEntity> getRes();

    void setMedicalCase(MedicalCase medicalCase);

    void setMedicineEntity(MedicineEntity medicineEntity);

    void setMedicineEntityList(List<MedicineEntity> medicineEntityList);

    void setRes(ArrayList<MedicineEntity> res);
    
}
